// 账户信息相关类型定义

export interface AccountInfo {
  member_name: string;
  group_name: string;
  unique: string;
  account_type: string;
  balance: string;
  credit: string;
  timestamp: number;
  created_at: string;
}

export interface AccountApiResponse {
  code: number;
  message: string;
  data: AccountInfo;
}

export interface CachedAccountInfo extends AccountInfo {
  cached_at: number; // 缓存时间戳
  expires_at: number; // 过期时间戳
}